<?php
require_once("../../class2.php");
require_once("./includes/require_all.php");

$ids= urldecode($_GET['ids']); $file= urldecode($_GET['file']);
$text_table= $_GET['table'];
$array= "'".str_replace("*~*", "','", mysql_real_escape_string($ids))."'";
$tips= mysql_query("SELECT * FROM $text_table WHERE text_id IN ($array) AND file_name='$file'");

echo "<div id='result' class='cmsRow2'>";
while ($tip= mysql_fetch_array($tips)) {
	echo "<span style='color:red'>".$tip['text_id']."=></span>".$tip['content']."<br>";
}
echo "</div>";
?>